#pragma once

#include<iostream>
#include<Windows.h>
#include<vector>

bool ckerror();

void gotoxy(COORD curpos);

void gotoxy(short x, short y);

void setColor(int color);



bool isChineseFirstCode(unsigned char ch);

bool isChineseSecondCode(unsigned char ch);

void splitText(std::vector<std::string>& text_list, std::string& text, int width);
